﻿using System.Threading;
using System.Windows.Forms;

namespace HighDiveAdmin.Engine
{
    public class SlowReplyChecker
    {
        public static event MethodInvoker EventSlowReply;

        public static void SlowReplyCheckerThread()
        {
            try
            {
                Thread.Sleep(10000);
                if (EventSlowReply != null)
                    EventSlowReply();
            }
            catch (ThreadAbortException)
            {
                
            }
        }
    }
}
